package com.myr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.myr.entity.Users;

/**
 * @author myr
 * @version 1.0
 * @date 2022/11/19 15:30
 */
public interface UserService {
    Page<Users> selectAll(Integer pageNum, Integer pageSize);
    int insert(Users users);
    int update(Users users);
    int delete(Integer id);
    Users login(String userName, String password);
}
